package com.swu.pad.course.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "course_group")
public class Group {

	public static final String TYPE_SINGLE = "1";// 单人小组
	public static final String TYPE_GROUP = "2";// 多人小组

	@Id
	@Column(name = "id")
	private String id;
	@Column(name = "create_time")
	private Date createTime;
	// 组名
	@Column(name = "group_name")
	private String groupName;
	// 组号
	@Column(name = "group_num")
	private String groupNum;
	// 组类型
	@Column(name = "group_type")
	private String groupType;
	// 评价哪些组，用逗号相隔
	@Column(name = "comment_groups")
	private String commentGroups;
	// 所属课程
	@Column(name = "course_id")
	private String courseId;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getGroupNum() {
		return groupNum;
	}

	public void setGroupNum(String groupNum) {
		this.groupNum = groupNum;
	}

	public String getGroupType() {
		return groupType;
	}

	public void setGroupType(String groupType) {
		this.groupType = groupType;
	}

	public String getCommentGroups() {
		return commentGroups;
	}

	public void setCommentGroups(String commentGroups) {
		this.commentGroups = commentGroups;
	}

	public String getCourseId() {
		return courseId;
	}

	public void setCourseId(String courseId) {
		this.courseId = courseId;
	}

}
